package net.fdukedom.epicurus.client.connection;

import net.fdukedom.epicurus.client.stub.EpicurusWSInterfacePort;

/**
 * 
 * @author Alexander Kirakozov
 *
 */
public abstract class ServicePortFactory {
    /**
     * Service class name
     */
    static final String serviceName = "EpicurusService";

    /**
     * Service port class name
     */
    static final String portName = "EpicurusWSInterfacePort";

    /**
     * Prefix of WSDL file
     */
    static final String wsdlPostfix = "?WSDL";

    /**
     * Namespace of service port class
     */
    static final String portURL = "http://fdukedom.net/epicurus/client/stub";

   /**
     * Creates new service port
     * @param serverURL web service server URL
     * @return service port entity
     */
   abstract EpicurusWSInterfacePort createPort(String serverURL);   
}
